#coding:gbk

import os
import os.path
import sys

WALK_LIST = ['C:\\']

def main():
    for path in WALK_LIST:
        for root, dirs, files in os.walk(path):
            for fileName in files:
                extName = fileName[-4:]
                if extName in ('.exe', '.dll', '.msi'):
                    fullFileName = os.path.join(root, fileName)
                    print fullFileName

main()

